<div class="business_box order_import_box">
	<div class="list"><i>*</i><span>选择路径</span>
		<label class="business">
			@if(count($business) == 1)
				<span>所有商家</span><i></i>
				<ul>
					<li data-activity="{{ json_encode($business[0]->activitys->load(['types'=>function($query) use ($business){
						return $query->where('business_id',$business[0]->id);
					}])->toArray())}}" business='{{$business[0]->id}}' title="{{$business[0]->name}}">{{$business[0]->name}}</li>
				</ul>
			@else
				<span>所有商家</span><i></i>
				<ul>
					@foreach($business as $item)
					<li data-activity="{{ json_encode($item->activitys->load(['types'=>function($query) use ($item){
						return $query->where('business_id',$item->id);
					}])->toArray()) }}" title="{{$item->name}}">{{$item->name}}</li>
					@endforeach
				</ul>
			@endif
		</label>
		<label class="activity"><span>所有活动</span><i></i>
			<ul>
			</ul>
		</label>
		<label class="channel"><span>所有渠道</span><i></i>
			<ul>
			</ul>
		</label>
	</div>
	<div class="list"><i>*</i><span>选择渠道</span>
		<div>
			<p><span>需要字段</span><span>Excel中对应字段列编号</span></p>
			<ol id="relation">
				<li>订单号</li><li class="right"><input maxlength="2" type="text" onkeyup="this.value=this.value.replace(/[^a-zA-Z]/g,'')" style="text-transform:uppercase;"></li>
				<li>下单时间</li><li class="right"><input maxlength="2" type="text" onkeyup="this.value=this.value.replace(/[^a-zA-Z]/g,'')" style="text-transform:uppercase;"></li>
				<li>订单金额</li><li class="right"><input maxlength="2" type="text" onkeyup="this.value=this.value.replace(/[^a-zA-Z]/g,'')" style="text-transform:uppercase;"></li>
				<li>商品信息</li><li class="right"><input maxlength="2" type="text" onkeyup="this.value=this.value.replace(/[^a-zA-Z]/g,'')" style="text-transform:uppercase;"></li>
				<li>联系人</li><li class="right"><input maxlength="2" type="text" onkeyup="this.value=this.value.replace(/[^a-zA-Z]/g,'')" style="text-transform:uppercase;"></li>
				<li>手机号</li><li class="right"><input maxlength="2" type="text" onkeyup="this.value=this.value.replace(/[^a-zA-Z]/g,'')" style="text-transform:uppercase;"></li>
				<li>收货人</li><li class="right"><input maxlength="2" type="text" onkeyup="this.value=this.value.replace(/[^a-zA-Z]/g,'')" style="text-transform:uppercase;"></li>
				<li>收货地址</li><li class="right"><input maxlength="2" type="text" onkeyup="this.value=this.value.replace(/[^a-zA-Z]/g,'')" style="text-transform:uppercase;"></li>
			</ol>
			<p style="margin-top: 0">字段对应编号和Excel中字段与编号的对应关系一致</p>
		</div>
	</div>
	<div class="dialog_button"><button class="true import_next">下一步</button></div>
</div>